'use strict';

describe('fbdApp rule group controller', function() {
  var $rootScope, $controller, $scope;

  beforeEach(module('fbdApp.templateModule'));
  beforeEach(inject(function(_$controller_, _$rootScope_) {
    $rootScope = _$rootScope_;
    $scope = _$rootScope_.$new();
    $controller = _$controller_;
  }));

  function createController() {
    return $controller('ruleGroupCtrl', {
      $scope: $scope
        // ruleService: $rule,
        // shareData: $shareData
    });
  }

  it('should be defined', function(done) {
    var controller = createController();
    expect(controller).not.toBe(null);
    // expect($scope.modes.length).toBe(3);
    // expect($scope.test).toBeDefined();
    // expect($scope.fileName).toBe($shareData.fileName);
    // expect($scope.save).toBeDefined();
    return done();
  });

});
